import Vue from 'vue'
import { Button, Input, Form, FormItem, Link, Message, Loading } from 'element-ui'
Vue.use(Button)
    .use(Input)
    .use(Form)
    .use(FormItem)
    .use(Link)

//将Message挂载到vue的原型上
Vue.prototype.$message = Message
Vue.prototype.$loading = Loading.service